﻿<Window x:Class="CodeSample.AboutBox"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="About" Height="300" Width="500"
        FontFamily="Lucida Sans Unicode" ResizeMode="NoResize" 
        Icon="/Code Sample;component/Images/simple%20samples2.png"
        Closed="Window_Closed">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        
        <Image Name="imgIcon" Width="200" Source="/Code Sample;component/Images/CodeSampleBigLogo.png"></Image>
        
        <StackPanel Grid.Column="1" VerticalAlignment="Center">
            <Image Name="imgCompanyLogo" Width="150" 
                   Source="/Code Sample;component/Images/Fpt%20logo%20simple.png"
                   HorizontalAlignment="Left">
                <Image.Effect>
                    <DropShadowEffect Opacity="0.4" ShadowDepth="3"></DropShadowEffect>
                </Image.Effect>
            </Image>
            <TextBlock Margin="5, 15, 10, 5" HorizontalAlignment="Left" FontSize="20" 
                       FontWeight="Bold" FontFamily="Lucida">Code Sample</TextBlock>
            <TextBlock Name="txtVersion" Margin="5">Version</TextBlock>
            <TextBlock Name="txtCopyright" Margin="5">Copyright</TextBlock>
            <StackPanel Orientation="Horizontal">
                <TextBlock Margin="5">Contact:</TextBlock>
                <TextBlock Name="txtContact" Margin="0, 5" Foreground="Blue" Cursor="Hand" MouseDown="txtContact_MouseDown">
                    <Underline>
                        HiepHN60508@fpt.edu.vn
                    </Underline>
                </TextBlock>
            </StackPanel>
            <TextBlock Margin="5, 5, 5, 0">Description:</TextBlock>
            <TextBox Name="txtDescription" BorderThickness="0" Height="60" Foreground="#FF484848"
                     Margin="5, 0, 5, 0" TextWrapping="Wrap" IsReadOnly="True"></TextBox>
        </StackPanel>
        
    </Grid>
</Window>
